#!/bin/sh

XTERM=${@:-xterm}

cat > /usr/bin/x-terminal-emulator<< EOF
#!/bin/sh
$XTERM \$@
EOF

chmod +x /usr/bin/x-terminal-emulator

